	<div class="user_details">
		{if $added}
			<div class="frame">Zmieniono {$added} wpis(-ów)</div>
		{/if}
		<table>
			<form action="{$smarty.server.REQUEST_URI}" method="post">
			<tr><td colspan="2">Dane osobowe pacjenta</td></tr>
			<tr><th>ZID</th><td><input type="text" name="zid" value="{$zabieg.zid}" readonly /></td></tr>
			<tr><th>PID</th><td>
			
			
			<select id="proid" name="proid">
	{foreach from=$prowadzacyData item=prowadzacy name=prowadzacy2}
		<option value="{$prowadzacy.pid}" {if $prowadzacy.pid==$zabieg.pid} selected="selected" {/if}>{$prowadzacy.imie} {$prowadzacy.nazwisko}</option>
		
		{/foreach}
	</select>
			
			</td></tr>
			<tr><th>TID</th><td><input type="text" name="tid" value="{$zabieg.tid}" readonly /></td></tr>
			<tr><th>Początek</th><td><input type="text" name="start" value="{$zabieg.start}" readonly /></td></tr>
			<tr><th>Koniec</th><td><input type="text" name="koniec" value="{$zabieg.koniec}" readonly /></td></tr>
			<tr><th>Data</th><td><input type="text" name="data" value="{$zabieg.data}" readonly /></td></tr>
			
			<tr><th colspan="2"><input type="submit" class="submit" value="Zapisz zmiany" /></th></tr>
			</form>
		</table>
		
	</div>
	<div class="back"><a href="{$appCore->prepareUrl("index.php?pid=adminpanel/register/")}"> Powrót</a></div>